xend: Fix error caused by VT-d ACS patch.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Aug 2009 07:25:41 +0000 (08:25 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Aug 2009 07:25:41 +0000 (08:25 +0100)
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
tools/python/xen/util/pci.py

index 62bede17d494cb7b0ac5b4a662887ba8630eab34..db37597cd8ea2a63eb57bd0df0f4c4862d7ed6eb 100644 (file)
@@ -1003,7 +1003,7 @@ class PciDevice:
                         if pos != 0:
                             ctrl = self.pci_conf_read16(pos + PCI_EXT_ACS_CTRL)
                             if (ctrl & PCI_EXT_CAP_ACS_ENABLED) == \
-                                PCI_EXT_CAP_ACS_ENABLED
+                                (PCI_EXT_CAP_ACS_ENABLED):
                                 self.acs_enabled = True
         else:
             if  pos != 0: